
//TODO Sameer
#include <vector>
#include <string>
#include "Request.h"
class Logger;
//class Request;

typedef std::vector< Request* >::iterator ReqIterator;

class Dispatcher
{

public:
	Dispatcher( std::string ReqFile, Logger&, Logger& );
	bool ParseRequests();
	void PrintRequests();
	void Eraserequests();
	ReqIterator GetBeginIterator();
	ReqIterator GetEndIterator();




private:
	std::string				m_strReqFile;

	Logger&					LOGGER;
	Logger&					ERRLOGGER;

	std::vector<Request*>	m_pRequests;


};
